package com.ncl.controller;

import com.ncl.service.ITTranDataMonthListService;
import com.ncl.tranRequest.RequestData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 【导出月结清单】Controller
 *
 * @author Chang
 * @date 2024-05-16
 */
@RequestMapping("/excel/list")
@RestController
public class TTranDataMonthListController {
    @Autowired
    private ITTranDataMonthListService tTranDataMonthListService;


    @PostMapping("/export")
    public String getInfo(@RequestBody RequestData requestData) {
        return  tTranDataMonthListService.selectTTranDataMonthListByListno(requestData);
    }
}
